# 限制版本号
cmake_minimum_required(VERSION 3.10)
#设定工程名
PROJECT(TopProject)

# 设置C++标准（重要！）
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 添加子目录
add_subdirectory(src)

# FILES代表文件
# DIRECTORY代表目录
# INSTALL(FILES README.md COPYRIGHT DESTINATION share/doc/cmake/TopProject )
# INSTALL(DIRECTORY bin/ DESTINATION /home/YZC/LinuxLerning/lingsheng/codeCmake/test2)

